package com.ygqh.baby.service;

import java.util.List;

import com.ygqh.baby.ao.QueryInfo;
import com.ygqh.baby.ao.ResultSet;
import com.ygqh.baby.po.YgWholesalerRechargeRecord;

/**
 * @author Ss
 */
public interface YgWholesalerRechargeRecordService {

	List<YgWholesalerRechargeRecord> find();

	int findCount();

	YgWholesalerRechargeRecord findById(Long id);

	int deleteSoft(Long[] ids);

	int deleteSoft(Long id);

	int save(YgWholesalerRechargeRecord ygWholesalerRechargeRecord);

	int update(YgWholesalerRechargeRecord ygWholesalerRechargeRecord);

	int saveOrUpdate(YgWholesalerRechargeRecord ygWholesalerRechargeRecord);

	ResultSet<YgWholesalerRechargeRecord> search(QueryInfo queryInfo, Long wholesalerId);

	void saveRechargeRecord(YgWholesalerRechargeRecord rechargeRecord);
}
